/*
 *  PMDrawingConstants.h
 *  PezMonkey
 *
 *  Created by Spence DiNicolantonio on 11/8/09.
 *  Copyright 2009 Necrosoft. All rights reserved.
 *
 */

#import "PMCore.h"

static const GLfloat circleVerts[] = {
	0.0000,  1.0000,
	0.2588,  0.9659,
	0.5000,  0.8660,
	0.7071,  0.7071,
	0.8660,  0.5000,
	0.9659,  0.2588,
	1.0000,  0.0000,
	0.9659, -0.2588,
	0.8660, -0.5000,
	0.7071, -0.7071,
	0.5000, -0.8660,
	0.2588, -0.9659,
	0.0000, -1.0000,
	-0.2588, -0.9659,
	-0.5000, -0.8660,
	-0.7071, -0.7071,
	-0.8660, -0.5000,
	-0.9659, -0.2588,
	-1.0000, -0.0000,
	-0.9659,  0.2588,
	-0.8660,  0.5000,
	-0.7071,  0.7071,
	-0.5000,  0.8660,
	-0.2588,  0.9659,
	0.0000,  1.0000,
	0.0f, 0.0f, // For an extra line to see the rotation.
};
static const int circleVertCount = sizeof(circleVerts)/sizeof(GLfloat)/2;

static const GLfloat pillVerts[] = {
	0.0000,  1.0000,
	0.2588,  0.9659,
	0.5000,  0.8660,
	0.7071,  0.7071,
	0.8660,  0.5000,
	0.9659,  0.2588,
	1.0000,  0.0000,
	0.9659, -0.2588,
	0.8660, -0.5000,
	0.7071, -0.7071,
	0.5000, -0.8660,
	0.2588, -0.9659,
	0.0000, -1.0000,
	
	0.0000, -1.0000,
	-0.2588, -0.9659,
	-0.5000, -0.8660,
	-0.7071, -0.7071,
	-0.8660, -0.5000,
	-0.9659, -0.2588,
	-1.0000, -0.0000,
	-0.9659,  0.2588,
	-0.8660,  0.5000,
	-0.7071,  0.7071,
	-0.5000,  0.8660,
	-0.2588,  0.9659,
	0.0000,  1.0000,
};
static const int pillVertCount = sizeof(pillVerts)/sizeof(GLfloat)/2;

static const GLfloat springVerts[] = {
	0.00f, 0.0f,
	0.20f, 0.0f,
	0.25f, 3.0f,
	0.30f,-6.0f,
	0.35f, 6.0f,
	0.40f,-6.0f,
	0.45f, 6.0f,
	0.50f,-6.0f,
	0.55f, 6.0f,
	0.60f,-6.0f,
	0.65f, 6.0f,
	0.70f,-3.0f,
	0.75f, 6.0f,
	0.80f, 0.0f,
	1.00f, 0.0f,
};
static const int springVertCount = sizeof(springVerts)/sizeof(GLfloat)/2;
